import request from '@/request'

const API = {
  ['TYPE_LIST']: '/api/personal/feedbackTypeList',
  ['FEEDBACK']: '/api/personal/feedback'
}

export const fetchTypeList = () => request({ url: API.TYPE_LIST })

export const postFeedback = data => request({ url: API.FEEDBACK, data })
